﻿using System;
using System.Xml.Serialization;

namespace TiEntityObject.Contract
{
    public class Budgetary 
    {
        public Int64 ID { get; set; }

        [XmlElement("month")]
        public string Month { get; set; }
        
        [XmlElement("year")]
        public string Year { get; set; }

        [XmlElement("KBK")]
        public string KBK { get; set; }

        [XmlElement("price")]
        public string Price { get; set; }
        public decimal iPrice { get { decimal v = 0; decimal.TryParse(Price, out v); return v; } }


        [XmlElement("comment")]
        public string Comment { get; set; }

    }
}
    